package demo.util;

import com.betfair.wrapper.types.Event;
import com.betfair.www.publicapi.types.exchange.v5.Market;
import com.betfair.www.publicapi.types.global.v3.BFEvent;
import com.betfair.www.publicapi.types.global.v3.MarketSummary;
import demo.handler.ExchangeAPI;

/**
 * Created with IntelliJ IDEA.
 * User: markwilliams
 * Date: 8/26/13
 * Time: 8:47 PM
 * To change this template use File | Settings | File Templates.
 */
public class MarketDetail {
    ExchangeAPI.Exchange exchange = null;
    Market market = null;
    MarketSummary marketSummary = null;
    Event event = null;
    int currentTotalGoals = 0;

    public MarketDetail(ExchangeAPI.Exchange exchange, Event event, Market market, MarketSummary marketSummary) {
        this.exchange = exchange;
        this.event = event;
        this.market = market;
        this.marketSummary = marketSummary;
    }

    public MarketSummary getMarketSummary() {
        return marketSummary;
    }

    public void setMarketSummary(MarketSummary marketSummary) {
        this.marketSummary = marketSummary;
    }

    public Market getMarket() {
        return market;
    }

    public void setMarket(Market market) {
        this.market = market;
    }

    public String getMarketName() {
        return marketSummary.getMarketName();
    }

    public ExchangeAPI.Exchange getExchange() {
        return exchange;
    }

    public int getCurrentTotalGoals() {
        return currentTotalGoals;
    }

    public void setCurrentTotalGoals(int currentTotalGoals) {
        this.currentTotalGoals = currentTotalGoals;
    }

    public Event getEvent() {
        return event;
    }

    public void setEvent(Event event) {
        this.event = event;
    }

}
